package com.jinjia.ordersys.service;

import com.jinjia.ordersys.domain.Person;

import com.jinjia.ordersys.dto.PersonDto;

import java.util.List;

/**
 * @Description: 人员角色Service
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 2018/10/11
 * @Time: 5:19 PM
 */
public interface PersonService {

    List<Person> getAllPersonForBase();

    Person getPersonInfoByOpenid(String openId);

    Person getPersonInfoByPersonId(Long personId);

    Integer addPerson(Person person);

    List<PersonDto> getNotBindPersons(String searchName);

    Integer updateOrBindPerson(Person person);

    List<Person> getAllPersonForSaleType();

}
